We use the internal entry as the reference to the text entry that is
currently in use, but during destruction we do not unset it, thus the
garbage collector may requires further cycles to actually release it.
Simplify its job here, improves
572d011894c9b490b8a17ad7db6adec335fbb017
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3850>
(cherry picked from commit
7c2dda6765432acb2f6eaccab74789d01f30af05)
this._inactiveEntry = null;
this._userVerifier.destroy();
this._userVerifier = null;
+ this._entry = null;
}
on_key_press_event(event) {